package com.osfw.dbadminer.service.connect;

import com.baomidou.mybatisplus.extension.service.IService;
import com.osfw.dbadminer.entity.connect.DbaConnect;
import com.osfw.framework.core.domain.Ztree;
import com.osfw.system.entity.manage.SysUser;

import java.util.List;

/**
 * 连接配置管理 服务层
 */
public interface IDbaConnectService extends IService<DbaConnect> {

    List<DbaConnect> getConnects();

    List<DbaConnect> getConnectsByIds(List<Long> connectIds, SysUser sysUser);

    List<Ztree> databaseTreeImmediateChild(Long parentId, SysUser sysUser);

}
